<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>The Hanged Man:  File sorgente Struttura_dati.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">The Hanged Man
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li><a href="annotated.html"><span>Classi</span></a></li>
      <li class="current"><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Elenco&#160;dei&#160;file</span></a></li>
      <li><a href="globals.html"><span>Elementi&#160;dei&#160;file</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Definizioni</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Struttura_dati.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Struttura__dati_8h.html">Vai alla documentazione di questo file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;cstring&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;gtk/gtk.h&gt;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">using namespace </span>std ;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="code" href="Struttura__dati_8h.html#a35d281ef7b86dd943d383d8c2639aa9c">   17</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="Struttura__dati_8h.html#a35d281ef7b86dd943d383d8c2639aa9c" title="Numero di argomenti per la scelta della parola.">NUM_ARG</a> = 7 ; </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="code" href="Struttura__dati_8h.html#a26a230912e1390a42752ddafd9c05aea">   20</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="Struttura__dati_8h.html#a26a230912e1390a42752ddafd9c05aea" title="Numero di parole diverse per argomento.">PAR_ARG</a> = 10 ; </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="structinformazioni.html">   35</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structinformazioni.html" title="Struttura globale con i campi informazione relativi ai giocatori:">informazioni</a> {</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="structinformazioni.html#ab74592d86db52dc0bca155db4703db13">   36</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structinformazioni.html#ab74592d86db52dc0bca155db4703db13">Nome</a> ;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="structinformazioni.html#a41b87313d7fb70d6b1d3721f4314247b">   37</a></span>&#160;    <span class="keywordtype">int</span> LUN_NOME, <a class="code" href="structinformazioni.html#a41b87313d7fb70d6b1d3721f4314247b">LUN_PAR</a> ;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="structinformazioni.html#a5616c0c11d7bfe8425bb32cd223f3a57">   38</a></span>&#160;    <span class="keywordtype">int</span> Punti, <a class="code" href="structinformazioni.html#a5616c0c11d7bfe8425bb32cd223f3a57">Tentativi</a>, Hits ;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="structinformazioni.html#a7c6ad051236ea3fb52eb5e0cc964b53a">   39</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structinformazioni.html#a7c6ad051236ea3fb52eb5e0cc964b53a">Parola</a> ;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;} ;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="structargomenti.html">   45</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structargomenti.html" title="Struttura globale contenente la matrice di string.">argomenti</a> {</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="structargomenti.html#a422dc6c8311b932c6c49ec88ec514e27">   46</a></span>&#160;    <span class="keywordtype">string</span> mat[<a class="code" href="Struttura__dati_8h.html#a35d281ef7b86dd943d383d8c2639aa9c" title="Numero di argomenti per la scelta della parola.">NUM_ARG</a>][<a class="code" href="Struttura__dati_8h.html#a26a230912e1390a42752ddafd9c05aea" title="Numero di parole diverse per argomento.">PAR_ARG</a>] ;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;} ;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment">/*..............................INIZIALIZZA.CC...............................*/</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="Inizializza_8cc.html#a91ceebaa86f052d67b05d6b594b745dc" title="Variabile booleana che permette di cambiare turno dei giocatori.">turno</a> ;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">extern</span> <a class="code" href="structinformazioni.html" title="Struttura globale con i campi informazione relativi ai giocatori:">informazioni</a> <a class="code" href="Inizializza_8cc.html#a7d0ff991fe008c11a8ade4a23f305441" title="Variabili di tipo struttura che permettono di accedere ai vari campi.">gioc</a>[2], <a class="code" href="Inizializza_8cc.html#a9d2f61c89c69873c78287db98a2afc30">p</a> ;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">extern</span> <a class="code" href="structargomenti.html" title="Struttura globale contenente la matrice di string.">argomenti</a> <a class="code" href="Inizializza_8cc.html#a1004f86c06ff9aa5fb346cee55b27b2c" title="Variabile globale che serve per accedere alla matrice di stringhe.">ar</a> ;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">/*...............................IMPICCATO.CC................................*/</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">extern</span> GtkBuilder *<a class="code" href="Impiccato_8cc.html#afa501dbb63ae6077ac8db76b560de42b" title="Puntatore ad un oggetto dell&#39;interfaccia grafica.">builder</a> ;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="Impiccato_8cc.html#ab657595268564b3a4479801a8b3c405c" title="Booleano che indica se si sta giocando in modalità Multiplayer (due giocatori), oppure no...">Multiplayer</a> ; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="Impiccato_8cc.html#a7b649e8a3264015d6062ddbc9e6ebd88" title="Booleano che indica se si sta eseguendo o meno una nuova partita.">NewGame</a> ;                                                    </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">/*............................. MACRO DEBUG..................................*/</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="Impiccato_8cc.html#a0fbe685a47e765bade6203c9a6a41ea3" title="Maschera utilizzata per il Debug Mode.">MASK</a> ;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">#ifdef DEBUG_MODE</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#       define TRACE(X, Y) { if((X) &amp; MASK) {Y; }}</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#else</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="Struttura__dati_8h.html#a215b19b7ba337a41d20fa62ab6eda8a3">  110</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#       define TRACE(X, Y)  do {} while (0)</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="Struttura__dati_8h.html#a117f089bc7de0c1a71ee078911c102ed">  113</a></span>&#160;<span class="preprocessor">#define TRACE1(x) TRACE(1, x)</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="Struttura__dati_8h.html#a2c5734335f903bbd126f33b0eb1cdd94">  114</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define TRACE2(x) TRACE(2, x)</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="Struttura__dati_8h.html#a2b836d79bfb88d24dba70eb1e365d8ae">  115</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define TRACE3(x) TRACE(3, x)</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 4 Giu 2013 19:46:54 per The Hanged Man da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
